Understanding Caesar Cipher In Python